<template>
  <div>
    <ol>
      <li v-for="item of musicList" :key="item">{{ item }}</li>
    </ol>
  </div>
</template>

<script>
export default {
  name: "Music",
  props: ["id"],
  computed: {
    musicList() {
      switch (this.id) {
        case "1":
          return ["华语1", "华语2", "华语3"];
        case "2":
          return ["英语1", "英语2", "英语3"];
        default:
          return [];
      }
    },
  },
};
</script>

<style></style>
